<style scoped>
.page-resource {
  padding-top: 55px;
  box-sizing: border-box;

  .resource-placeholder {
    margin: 50px auto 100px;
    text-align: center;

    img {
      width: 150px;
    }

    h4 {
      margin: 20px 0 16px;
      font-size: 16px;
      color: #1f2f3d;
      line-height: 1;
    }

    p {
      margin: 0;
      font-size: 14px;
      color: #99a9bf;
      line-height: 1;
    }
  }
}
.cards {
  margin: 35px auto 110px;

  .container {
    &::before,
    &::after {
      display: table;
      content: '';
    }
    &::after {
      clear: both;
    }
    padding: 0;
    margin: 0 -11px;
    width: auto;
  }

  li {
    width: 33.33333%;
    padding: 0 11px;
    box-sizing: border-box;
    float: left;
    list-style: none;
  }
}
h2 {
  font-size: 28px;
  margin: 0;
}
p {
  font-size: 14px;
  color: #5e6d82;
}
.card {
  height: 394px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #eaeefb;
  border-radius: 5px;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  transition: bottom 0.3s;
  bottom: 0;

  img {
    margin: 75px auto 35px;
    height: 87px;
  }
  h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #1f2f3d;
    font-weight: normal;
    height: 22px;
  }
  p {
    font-size: 14px;
    color: #99a9bf;
    padding: 0 30px;
    margin: 0;
    word-break: break-all;
    line-height: 1.6;
  }
  a {
    height: 42px;
    width: 190px;
    display: inline-block;
    line-height: 42px;
    font-size: 14px;
    background-color: #409eff;
    color: #fff;
    text-align: center;
    border: 0;
    padding: 0;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s;
    text-decoration: none;
    margin-top: 20px;
  }
}
@media (max-width: 850px) {
  .cards {
    li {
      max-width: 500px;
      float: none;
      margin: 10px auto 30px;
      width: 80%;
      .card {
        height: auto;
        padding-bottom: 20px;
      }
    }
    h3 {
      height: auto;
    }
  }
}
</style>
<template>
  <div class="page-container page-resource">
    <h2>Resources</h2>
    <!--<div class="resource-placeholder">-->
    <!--<img src="@demo/assets/images/resource-placeholder.svg" alt="">-->
    <!--<h4>En construction</h4>-->
    <!--<p>Plus de ressources sont en développement.</p>-->
    <!--</div>-->

    <p>Plus de ressources sont en développement.</p>
    <div class="cards">
      <ul class="container">
        <li>
          <div class="card">
            <img src="@demo/assets/images/Axure-Components.svg" alt="" />
            <h3>Composants Axure</h3>
            <p>
              En important ELement UI dans Axure, vous pourrez facilement utiliser les composants
              durant le design des interactions
            </p>
            <a
              onclick="ga('send', 'event', 'ResourceDownload', 'Download', 'Axure');"
              href="https://github.com/ElementUI/Resources/raw/master/Element_Components_v2.0.0.rplib"
              >Téléchargement</a
            >
          </div>
        </li>
        <li>
          <div class="card">
            <img src="@demo/assets/images/Sketch-Template.svg" alt="" />
            <h3>Modèle de croquis</h3>
            <p>
              Applique des composants d'un template Element, afin d'améliorer l'efficacité du design
              tout en gardant un style visuel unifié.
            </p>
            <a
              onclick="ga('send', 'event', 'ResourceDownload', 'Download', 'Sketch');"
              href="https://github.com/ElementUI/Resources/raw/master/Element%20UI%20Kit_v2.0.sketch"
              >Téléchargement</a
            >
          </div>
        </li>
        <!--<li>-->
        <!--<div class="card">-->
        <!--<img src="@demo/assets/images/Module.svg" alt="">-->
        <!--<h3>Documentation du design des interactions</h3>-->
        <!--<p>Jetez un oeil à la documentation du design des interactions. Obtenez des détails sur chaque composant.</p>-->
        <!--<a href="https://github.com/ElementUI/Resources/raw/master/Element%20Components%20Documentation.zip">Téléchargement</a>-->
        <!--</div>-->
        <!--</li>-->
      </ul>
    </div>
  </div>
</template>
